package com.luxuewen.sxa.entity.validator;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wen
 */
@Data
public class LoginVo implements Serializable {
    @NotNull(message="用户名不能为空")
    private String username;

    @NotNull(message="密码不能为空")
    private String password;
}
